package org.example.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TradeOrder {
    /**
     * 股票id
     */
    private Integer stockId;
    /**
     * 价格
     */
   private BigDecimal price;
    /**
     * 买入数量
     */
   private Integer buyNum;
    /**
     * 卖出数量
     */
   private Integer sellNum;
    /**
     * 买家ID
     */
   private Integer buyId;
    /**
     * 卖家id
     */
   private Integer sellId;


}
